/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.nct.model.entities;

import java.util.List;
import javax.xml.bind.annotation.XmlTransient;

/**
 *
 * @author haott
 */
public class Tacgia  {
    private Integer id;
    private String hoten;
    private int tuoi;
    private String butdanh;
    private boolean gioitinh;
    private String diachi;
    private String email;
    private String dienthoai;
    private List<Tintuc> tintucList;

    public Tacgia() {
    }

    public Tacgia(Integer id) {
        this.id = id;
    }

    public Tacgia(Integer id, String hoten, int tuoi, String butdanh, boolean gioitinh, String diachi, String email, String dienthoai) {
        this.id = id;
        this.hoten = hoten;
        this.tuoi = tuoi;
        this.butdanh = butdanh;
        this.gioitinh = gioitinh;
        this.diachi = diachi;
        this.email = email;
        this.dienthoai = dienthoai;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHoten() {
        return hoten;
    }

    public void setHoten(String hoten) {
        this.hoten = hoten;
    }

    public int getTuoi() {
        return tuoi;
    }

    public void setTuoi(int tuoi) {
        this.tuoi = tuoi;
    }

    public String getButdanh() {
        return butdanh;
    }

    public void setButdanh(String butdanh) {
        this.butdanh = butdanh;
    }

    public boolean getGioitinh() {
        return gioitinh;
    }

    public void setGioitinh(boolean gioitinh) {
        this.gioitinh = gioitinh;
    }

    public String getDiachi() {
        return diachi;
    }

    public void setDiachi(String diachi) {
        this.diachi = diachi;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getDienthoai() {
        return dienthoai;
    }

    public void setDienthoai(String dienthoai) {
        this.dienthoai = dienthoai;
    }

    @XmlTransient
    public List<Tintuc> getTintucList() {
        return tintucList;
    }

    public void setTintucList(List<Tintuc> tintucList) {
        this.tintucList = tintucList;
    }
}
